export default {
    namespaced: true,
    state:{
        objection : {
        	txt:'',//反馈内容
        	type:'',//反馈类型
        	typeId:'',//反馈类型ID
        },
    },
    mutations:{
        updateObjectionTxtData(state,data){
            state.objection.txt = data;
        },
        updateObjectionTypeData(state,data){
            state.objection.type = data.name;
            state.objection.typeId = data.id;
        },
        clearObjectionData(state,data){
            state.objection = {
	        	txt:'',//反馈内容
	        	type:'',//反馈类型
	        	typeId:'',//反馈类型ID
	        };
        },
    }
}